package com.ruoyi.edh.mapper;

import java.util.List;
import com.ruoyi.edh.domain.EdhFinance;
import com.ruoyi.edh.domain.vo.EdhFinanceVo;

/**
 * 易订货-财务结算Mapper接口
 * 
 * @author xxx
 * @date 2020-09-19
 */
public interface EdhFinanceMapper 
{
    /**
     * 查询易订货-财务结算
     * 
     * @param id 易订货-财务结算ID
     * @return 易订货-财务结算
     */
    public EdhFinance selectEdhFinanceById(Long id);



    /**
     * 查询易订货-财务结算列表
     * 
     * @param edhFinance 易订货-财务结算
     * @return 易订货-财务结算集合
     */
    public List<EdhFinance> selectEdhFinanceList(EdhFinance edhFinance);

    /**
     * 新增易订货-财务结算
     * 
     * @param edhFinance 易订货-财务结算
     * @return 结果
     */
    public int insertEdhFinance(EdhFinance edhFinance);

    /**
     * 修改易订货-财务结算
     * 
     * @param edhFinance 易订货-财务结算
     * @return 结果
     */
    public int updateEdhFinance(EdhFinance edhFinance);

    /**
     * 删除易订货-财务结算
     * 
     * @param id 易订货-财务结算ID
     * @return 结果
     */
    public int deleteEdhFinanceById(Long id);

    /**
     * 批量删除易订货-财务结算
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteEdhFinanceByIds(Long[] ids);
    /**
     *
     *
     * @description: 查询供应商收益
     * @param edhFinanceVo
     * @return: List<EdhFinance>
     * @author: 梁东宸
     * @time: 2020/9/19 10:24 上午
     */
    public List<EdhFinanceVo> querySupplierIncome(EdhFinanceVo edhFinanceVo);
}
